package com.libinyn.base;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

/**
 * Spring boot 入口
 * @fileName: BaseApplication.java
 * @author: bin.li01
 * @date: 2017/11/29 11:36
 * @version: v1.0.0
 */
@SpringBootApplication
@MapperScan(basePackages = "com.libinyn.base.mapper")
@ComponentScan(basePackages = {"com.libinyn.base"})
public class BaseApplication  {

	public static void main(String[] args) {
		SpringApplication.run(BaseApplication.class, args);
	}

}
